<?php /* Smarty version 2.6.16, created on 2008-06-12 06:40:43
         compiled from 111.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncatex', '111.html', 29, false),)), $this); ?>
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>读写</title>
</head>
<script src="./js/jquery.js"></script>
<body style="color:#238E23;text-align:center; margin:0px;" bgcolor="#CCCCCC" alink="#007FFF" vlink="#007FFF" link="#007FFF">
<div id="body__ox" style="width:700px;  margin-left:auto; margin-right:auto; font-size:12px;">
<div id="" style="width:700px; height:16px; text-align:right; float:left;"><a href="./index.html">退出</a>&nbsp;&nbsp;|&nbsp;&nbsp;</div>
<div id="head__ox" style="width:700px; float:left;"><h1 align="left">&nbsp;&nbsp;&nbsp;&nbsp;这是logo标题</h1></div>
<div id="zhengwen__ox" style="width:700px; float:left;">
	<div id="lanmu__ox" style="width:700px;float:left;text-align:left; border-bottom:#336699 1px solid;"><h3 style="margin-bottom:0px;">
		<a href="./blogindex.php">首页</a>  <a href="./write.php">写日记</a>   日记   </h3>
	</div>
	<div id="duzi__ox" style="float:left; width:700px;">
	<div id="left__ox" style="width:500px; float:left;border-right:1px #336699 solid; text-align:left;">
	<table><?php $_from = $this->_tpl_vars['logs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['arow']):
?>
		<tr>
			<td align="left"><h1 style="margin-bottom:3px;margin-bottom:5px;"><a href="./alog.php?id=<?php echo $this->_tpl_vars['arow']['article_id']; ?>
"><?php echo $this->_tpl_vars['arow']['article_title']; ?>
</a></h1></td>
		</tr>
		<tr>
			<td align="left">发表于：<font color="#663366"><?php echo $this->_tpl_vars['arow']['article_mtime']; ?>
</font></td>
		</tr>
		<tr>
			<td align="right"><u><a class="SH" href="javascript:nexttd()">折叠</a></u></td>
		</tr>
		<tr>
			<td align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['arow']['article_content'])) ? $this->_run_mod_handler('truncatex', true, $_tmp, 400) : smarty_modifier_truncatex($_tmp, 400)); ?>
</td>
		</tr>
		<tr>
			<td align="left">&nbsp;</td>
		</tr>
		<tr>
			<td align="left"><font size=+1><b>标签：</b></font><font color="#663366"><?php echo $this->_tpl_vars['arow']['article_tag']; ?>
</font></td>
		</tr>
		<tr>
			<td align="right"><a href="./mod.php?id=<?php echo $this->_tpl_vars['arow']['article_id']; ?>
">修改</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./del.php?id=<?php echo $this->_tpl_vars['arow']['article_id']; ?>
">删除</a></td>
		</tr>
		<tr><td><hr noshade size="1" color="#007FFF"  width="96%"/></td></tr>
	<?php endforeach; endif; unset($_from); ?></table>
	</div>
	<div id="right__ox" style="width:199px; float:left;border-bottom:1px #336699 solid;text-align:left;">
	<table>
		<tr><td><b><font size="+1" color="#00FFFF"><?php echo $this->_tpl_vars['username']; ?>
</font></b>,你好</td></tr>
		<tr><td>年龄:<?php echo $this->_tpl_vars['userage']; ?>
</td></tr>
		<tr><td>简介:<?php echo $this->_tpl_vars['userinfo']; ?>
</td></tr>
	</table>
	</div>
	</div>
</div>

</div>

</body>
</html>
<script>
function nexttd()
{
}
$(document).ready(function(){
	//$("span").click(function(){alert("slkdjfl");});
	$(".SH").toggle(function(){$(this).parent().parent().parent().next().hide();$(this).html('显示')},function(){$(this).parent().parent().parent().next().show();$(this).html('折叠')});});

</script>